#ifndef LISTBOX_H
#define LISTBOX_H

#undef EXT
#ifdef LISTBOX_C
#define EXT
#else
#define EXT extern
#endif

#include "GUIType.h"

typedef struct
{
  U8 Index;
  char *pListInfo;
  U8 ListNum;
}LISTBOX_Obj;

EXT U8 LISTBOX_CreateEx(LISTBOX_Obj *pObj, char * pListInfo, U8 ListNum, U8 Index);
EXT void LISTBOX_Disp(LISTBOX_Obj* pObj, U8 Focus, U8 X, U8 Y);
EXT void LISTBOX_AddKey(LISTBOX_Obj* pObj, int Key);
#endif

